package com.liuceng.zen.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liuceng.zen.mapper.RptFrontAdGroupDailyMapper;
import com.liuceng.zen.mapper.RptFrontCampaignDailyMapper;
import com.liuceng.zen.pojo.domain.RptFrontCampaignDaily;

@Service
public class RptFrontCampaignDailyService extends BaseService<RptFrontCampaignDaily> {
  @Autowired
  RptFrontCampaignDailyMapper rptFrontCampaignDailyMapper;
  @Autowired
  RptFrontAdGroupDailyMapper rptFrontAdGroupDailyMapper;


  public List<RptFrontCampaignDaily> selectByMemberId(Integer memberId) {
    return rptFrontCampaignDailyMapper.selectByMemberId(memberId);
  }

  public List<Map<String, Object>> findMemberRptData(Map<String, Object> params) {
    return rptFrontCampaignDailyMapper.findMemberRptData(params);
  }

  public List<Map<String, Object>> findCampaignRptData(Map<String, Object> params) {
    return rptFrontCampaignDailyMapper.findCampaignRptData(params);
  }

  public List<Map<String, Object>> findAdGroupRptData(Map<String, Object> params) {
    return rptFrontAdGroupDailyMapper.findAdGroupRptData(params);
  }
}
